//
//  SegmentHeaderView.h
//  BaseProject
//
//  Created by 王洋 on 2020/8/6.
//  Copyright © 2020 王洋. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface SegmentHeaderView : UIView

typedef NS_ENUM(NSInteger, SegmentHeaderSelType) {
    //
    SegmentHeaderSelType_coupon,
    //
    SegmentHeaderSelType_hall,
    
    SegmentHeaderSelType_menu,
    
    SegmentHeaderSelType_dynamic,

    SegmentHeaderSelType_evaluate,

};


@property (weak, nonatomic) IBOutlet UILabel *lab1;
@property (weak, nonatomic) IBOutlet UIView *tag1;

@property (weak, nonatomic) IBOutlet UILabel *lab2;
@property (weak, nonatomic) IBOutlet UIView *tag2;

@property (weak, nonatomic) IBOutlet UILabel *lab3;
@property (weak, nonatomic) IBOutlet UIView *tag3;

@property (weak, nonatomic) IBOutlet UILabel *lab4;
@property (weak, nonatomic) IBOutlet UIView *tag4;

@property (weak, nonatomic) IBOutlet UILabel *lab5;
@property (weak, nonatomic) IBOutlet UIView *tag5;


@property (nonatomic, assign) NSInteger selIndex;

@property (nonatomic, copy) void(^SegmentHeaderViewBlock)(SegmentHeaderSelType type);


- (void)fillWithType:(SegmentHeaderSelType)type;

@end

NS_ASSUME_NONNULL_END
